package com.woniuxy.common.enums;

import lombok.Getter;

@Getter
public enum JoyLifeHttpState {
    BASE_EXCEPTION(400,"发生错误"),
    VALIDATE_EXCEPTION(1001,"数据验证错误")
    ;

    private Integer code;
    private String msg;

    JoyLifeHttpState(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
